<?php
class Dashboard_Model_Dashboard implements Dashboard_Model_Mainable {
    
    private $dashboard_model_dashboarddecision;
    
    public function main(array $variables = null) {
        if(isset($variables['get']['page']) && (trim($variables['get']['page']) != '')){
            $this->dashboard_model_dashboarddecision = new Dashboard_Model_Dashboarddecision;
            return $this->dashboard_model_dashboarddecision->main($variables);
        }
        else {
            $page['template'] = WEB_ROOT_FOLDER."dashboard/views/dashboard.php";
            return $page;
        }
    }

}
